{
    "connectors": {
        "sentseg": {
            "protocol": "http",
            "timeout": 1.5,
            "url": "http://sentseg:8011/sentseg"
        },
        "ner": {
            "protocol": "http",
            "timeout": 1.5,
            "url": "http://ner:8021/ner"
        }
    },
    "services": {
        "last_chance_service": {
            "connector": {
                "protocol": "python",
                "class_name": "PredefinedTextConnector",
                "response_text": "Sorry, something went wrong inside. Please tell me, what did you say.",
                "annotations": {
                    "sentseg": {
                        "punct_sent": "Sorry, something went wrong inside. Please tell me, what did you say.",
                        "segments": [
                            "Sorry, something went wrong inside.",
                            "Please tell me, what did you say."
                        ]
                    },
                    "ner": [
                        []
                    ]
                }
            },
            "state_manager_method": "add_bot_utterance_last_chance",
            "tags": [
                "last_chance"
            ],
            "is_enabled": true,
            "source": {
                "component": "components/sjkdfh289fnkdfg.yml",
                "service": "services/agent_services/service_configs/dream_ranking_and_sf_based_dm"
            }
        },
        "timeout_service": {
            "connector": {
                "protocol": "python",
                "class_name": "PredefinedTextConnector",
                "response_text": "Sorry, I need to think more on that. Let's talk about something else.",
                "annotations": {
                    "sentseg": {
                        "punct_sent": "Sorry, I need to think more on that. Let's talk about something else.",
                        "segments": [
                            "Sorry, I need to think more on that.",
                            "Let's talk about something else."
                        ]
                    },
                    "ner": [
                        []
                    ]
                }
            },
            "state_manager_method": "add_bot_utterance_last_chance",
            "tags": [
                "timeout"
            ],
            "is_enabled": true,
            "source": {
                "component": "components/Wejhdfp3utgih8.yml",
                "service": "services/agent_services/service_configs/dream_ranking_and_sf_based_dm"
            }
        },
        "annotators": {
            "sentseg": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.5,
                    "url": "http://sentseg:8011/sentseg"
                },
                "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml",
                    "service": "annotators/SentSeg/service_configs/sentseg"
                }
            },
            "speech_function_classifier": {
                "connector": {
                    "protocol": "http",
                    "timeout": 5.0,
                    "url": "http://speech-function-classifier:8108/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:speech_function_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/IvTBJz0AoCD98qMOkbXEkg.yml",
                    "service": "annotators/speech_function_classifier/service_configs/speech-function-classifier"
                }
            },
            "speech_function_predictor": {
                "connector": {
                    "protocol": "http",
                    "timeout": 5.0,
                    "url": "http://speech-function-predictor:8107/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:speech_function_predictor_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.speech_function_classifier"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "FNmTZbz8EA6Y80b5pXZzQ.yml",
                    "service": "annotators/speech_function_predictor/service_configs/speech-function-predictor"
                }
            },
            "prompt_goals_collector": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://prompt-selector:8135/collect_goals"
                },
                "dialog_formatter": "state_formatters.dp_formatters:prompts_goals_collector_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [],
                "state_manager_method": "update_attributes",
                "is_enabled": true,
                "source": {
                    "component": "components/tK0hTk4TyMj7.yml",
                    "service": "annotators/prompt_selector/service_configs/dream_persona_openai_prompted"
                }
            },
            "prompt_selector": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://prompt-selector:8135/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.prompt_goals_collector"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/tK0hTk4TyMj7.yml",
                    "service": "annotators/prompt_selector/service_configs/dream_persona_openai_prompted"
                }
            },
            "intent_catcher": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://intent-catcher:8014/detect"
                },
                "dialog_formatter": "state_formatters.dp_formatters:last_utt_sentseg_segments_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.sentseg"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/1IjC3r9b1VJ082ceINXzHQ.yml",
                    "service": "annotators/IntentCatcherTransformers/service_configs/intent-catcher"
                }
            },
            "fact_retrieval": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://fact-retrieval:8100/model"
                },
                "dialog_formatter": "state_formatters.dp_formatters:fact_retrieval_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.sentseg",
                    "annotators.entity_linking"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/sVjXygxsPhjLEWd2acwcEA.yml",
                    "service": "annotators/fact_retrieval/service_configs/fact-retrieval"
                }
            },
            "ner": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.5,
                    "url": "http://ner:8021/ner"
                },
                "dialog_formatter": "state_formatters.dp_formatters:ner_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.sentseg"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml",
                    "service": "annotators/NER_deeppavlov/service_configs/ner"
                }
            },
            "entity_detection": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://entity-detection:8103/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:entity_detection_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.sentseg"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/05PqJXVd7gV7DqslN5z3A.yml",
                    "service": "annotators/entity_detection/service_configs/entity-detection"
                }
            },
            "kbqa": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://kbqa:8072/model"
                },
                "dialog_formatter": "state_formatters.dp_formatters:kbqa_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "required_previous_services": [
                    "annotators.entity_linking"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/3clxaNOTpI3oHR0fHRaCnQ.yml",
                    "service": "annotators/kbqa/service_configs/kbqa"
                }
            },
            "entity_linking": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://entity-linking:8075/model"
                },
                "dialog_formatter": "state_formatters.dp_formatters:el_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.ner",
                    "annotators.entity_detection",
                    "annotators.spacy_nounphrases"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/M1sE6hOm20EGBWBdr0vIOw.yml",
                    "service": "annotators/entity_linking/service_configs/entity-linking"
                }
            },
            "wiki_parser": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://wiki-parser:8077/model"
                },
                "dialog_formatter": "state_formatters.dp_formatters:wp_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "required_previous_services": [
                    "annotators.entity_linking"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/O4FVnkAwjay1mL1FbuRGWw.yml",
                    "service": "annotators/wiki_parser/service_configs/wiki-parser"
                }
            },
            "combined_classification": {
                "connector": {
                    "protocol": "http",
                    "timeout": 3.0,
                    "url": "http://combined-classification:8087/model"
                },
                "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog_w_hist",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml",
                    "service": "annotators/combined_classification/service_configs/combined-classification"
                }
            },
            "summarization_annotator": {
                "connector": {
                    "protocol": "http",
                    "timeout": 10.0,
                    "url": "http://summarization-annotator:8058/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:summarization_annotator_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.spelling_preprocessing"
                ],
                "state_manager_method": "update_attributes",
                "is_enabled": true,
                "source": {
                    "component": "components/riRfdGz86P51B9bL7fO6JR.yml",
                    "service": "annotators/summarization_annotator/service_configs/summarization-annotator"
                }
            }
        },
        "response_annotators": {
            "sentseg": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.5,
                    "url": "http://sentseg:8011/sentseg"
                },
                "dialog_formatter": "state_formatters.dp_formatters:last_bot_utt_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "response_annotator_selectors"
                ],
                "state_manager_method": "add_annotation_prev_bot_utt",
                "is_enabled": true,
                "source": {
                    "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml",
                    "service": "annotators/SentSeg/service_configs/sentseg"
                }
            },
            "ner": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.5,
                    "url": "http://ner:8021/ner"
                },
                "dialog_formatter": "state_formatters.dp_formatters:ner_formatter_last_bot_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "response_annotator_selectors",
                    "response_annotators.sentseg"
                ],
                "state_manager_method": "add_annotation_prev_bot_utt",
                "is_enabled": true,
                "source": {
                    "component": "components/3RDNPBdybjBlSQZqcc7nGQ.yml",
                    "service": "annotators/NER_deeppavlov/service_configs/ner"
                }
            },
            "speech_function_classifier": {
                "connector": {
                    "protocol": "http",
                    "timeout": 5.0,
                    "url": "http://speech-function-classifier:8108/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:speech_function_bot_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "response_annotator_selectors",
                    "response_annotators.sentseg"
                ],
                "state_manager_method": "add_annotation_prev_bot_utt",
                "is_enabled": true,
                "source": {
                    "component": "components/IvTBJz0AoCD98qMOkbXEkg.yml",
                    "service": "annotators/speech_function_classifier/service_configs/speech-function-classifier"
                }
            }
        },
        "response_annotator_selectors": {
            "connector": {
                "protocol": "python",
                "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector",
                "annotator_names": [
                    "sentseg",
                    "ner",
                    "speech_function_classifier"
                ]
            },
            "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
            "tags": [
                "selector"
            ],
            "is_enabled": true,
            "source": {
                "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml",
                "service": "services/response_annotator_selectors/service_configs/agent"
            }
        },
        "candidate_annotators": {
            "speech_function_classifier": {
                "connector": {
                    "protocol": "http",
                    "timeout": 5.0,
                    "url": "http://speech-function-classifier:8108/respond_batch"
                },
                "dialog_formatter": "state_formatters.dp_formatters:speech_function_hypotheses_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "skills"
                ],
                "state_manager_method": "add_hypothesis_annotation_batch",
                "is_enabled": true,
                "source": {
                    "component": "components/IvTBJz0AoCD98qMOkbXEkg.yml",
                    "service": "annotators/speech_function_classifier/service_configs/speech-function-classifier"
                }
            },
            "entity_detection": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://entity-detection:8103/respond_batch"
                },
                "dialog_formatter": "state_formatters.dp_formatters:hypotheses_list",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "skills"
                ],
                "state_manager_method": "add_hypothesis_annotation_batch",
                "is_enabled": true,
                "source": {
                    "component": "components/05PqJXVd7gV7DqslN5z3A.yml",
                    "service": "annotators/entity_detection/service_configs/entity-detection"
                }
            },
            "combined_classification": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://combined-classification:8087/batch_model"
                },
                "dialog_formatter": "state_formatters.dp_formatters:hypothesis_histories_list",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "skills"
                ],
                "state_manager_method": "add_hypothesis_annotation_batch",
                "is_enabled": true,
                "source": {
                    "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml",
                    "service": "annotators/combined_classification/service_configs/combined-classification"
                }
            },
            "sentence_ranker": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://sentence-ranker:8128/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "skills"
                ],
                "state_manager_method": "add_hypothesis_annotation_batch",
                "is_enabled": true,
                "source": {
                    "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml",
                    "service": "services/sentence_ranker/service_configs/sentence-ranker"
                }
            }
        },
        "skill_selectors": {
            "description_based_skill_selector": {
                "connector": {
                    "protocol": "python",
                    "class_name": "skill_selectors.description_based_skill_selector.connector:DescriptionBasedSkillSelectorConnector"
                },
                "dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators"
                ],
                "tags": [
                    "selector"
                ],
                "is_enabled": true,
                "source": {
                    "component": "components/dfsw4bji8bgjq2.yml",
                    "service": "skill_selectors/description_based_skill_selector/service_configs/agent"
                }
            }
        },
        "skills": {
            "dff_dream_persona_prompted_skill": {
                "connector": {
                    "protocol": "http",
                    "timeout": 120.0,
                    "url": "http://dff-dream-persona-chatgpt-prompted-skill:8137/respond"
                },
                "dialog_formatter": {
                    "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
                    "skill_name": "dff_dream_persona_prompted_skill"
                },
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
                "previous_services": [
                    "skill_selectors"
                ],
                "state_manager_method": "add_hypothesis",
                "is_enabled": true,
                "source": {
                    "component": "components/W6hdAGshQyMwdQukRXXuKA.yml",
                    "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-persona-chatgpt-prompted-skill"
                }
            },
            "dff_google_api_skill": {
                "connector": {
                    "protocol": "http",
                    "timeout": 120.0,
                    "url": "http://dff-google-api-skill:8162/respond"
                },
                "dialog_formatter": {
                    "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
                    "skill_name": "dff_google_api_skill"
                },
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
                "previous_services": [
                    "skill_selectors"
                ],
                "state_manager_method": "add_hypothesis",
                "is_enabled": true,
                "source": {
                    "component": "components/VJ7c3sLqEi.yml",
                    "service": "skills/dff_google_api_skill/service_configs/dff-google-api-skill"
                }
            },
            "dff_intent_responder_skill": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://dff-intent-responder-skill:8012/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:dff_intent_responder_skill_formatter",
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
                "previous_services": [
                    "skill_selectors"
                ],
                "state_manager_method": "add_hypothesis",
                "is_enabled": true,
                "source": {
                    "component": "components/CmQGq1Xn5YOaMwNIb4bEpA.yml",
                    "service": "skills/dff_intent_responder_skill/service_configs/dff-intent-responder-skill"
                }
            },
            "dummy_skill": {
                "connector": {
                    "protocol": "python",
                    "class_name": "skills.dummy_skill.connector:DummySkillConnector"
                },
                "dialog_formatter": "state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog",
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
                "previous_services": [
                    "skill_selectors"
                ],
                "state_manager_method": "add_hypothesis",
                "is_enabled": true,
                "source": {
                    "component": "components/uYkoK0vRp4bbIg9akI1yw.yml",
                    "service": "skills/dummy_skill/service_configs/agent"
                }
            },
            "factoid_qa": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://factoid-qa:8071/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:utt_sentseg_punct_dialog",
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
                "previous_services": [
                    "skill_selectors"
                ],
                "state_manager_method": "add_hypothesis",
                "is_enabled": true,
                "source": {
                    "component": "components/qx0j5QHAzog0b39nRnuA.yml",
                    "service": "skills/factoid_qa/service_configs/factoid-qa"
                }
            },
            "dff_dream_faq_prompted_skill": {
                "connector": {
                    "protocol": "http",
                    "timeout": 120.0,
                    "url": "http://dff-dream-faq-prompted-skill:8170/respond"
                },
                "dialog_formatter": {
                    "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
                    "skill_name": "dff_dream_faq_prompted_skill"
                },
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
                "previous_services": [
                    "skill_selectors"
                ],
                "state_manager_method": "add_hypothesis",
                "is_enabled": true,
                "source": {
                    "component": "components/jFmKPqMJh0.yml",
                    "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-faq-prompted-skill"
                }
            }
        },
        "response_selectors": {
            "response_selector": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://ranking-and-sf-based-response-selector:8082/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:cropped_dialog",
                "response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
                "previous_services": [
                    "candidate_annotators"
                ],
                "tags": [
                    "selector"
                ],
                "state_manager_method": "add_bot_utterance",
                "is_enabled": true,
                "source": {
                    "component": "components/Mul0SGf8K24fWIOBjH2m.yml",
                    "service": "response_selectors/ranking_and_sf_based_response_selector/service_configs/ranking-and-sf-based-response-selector"
                }
            }
        }
    },
    "metadata": {
        "display_name": "Dream with Ranking- and Speech Function-based DM",
        "author": "DeepPavlov",
        "description": "DeepPavlov Dream Distribution with Ranking- and Speech Function-based Dialog Management",
        "version": "0.1.0",
        "date_created": "2022-12-12T12:12:00",
        "ram_usage": "20 GB",
        "gpu_usage": "20 GB",
        "disk_usage": "20 GB"
    }
}